#1.将你的中文名字分别进行utf8编码再编码，BGK编码再编码
name = '孙超'

#utf8编码
ret01 = name.encode("utf8")
print(ret01,type(ret01))
#utf8解码
ret02 = ret01.decode("utf8")
print(ret02,type(ret02))

#gbk编码
ret03 = name.encode("gbk")
print(ret03,type(ret03))
#gbk解码
ret04 = ret03.decode("gbk")
print(ret04,type(ret04))